PHY ENABLE DEBUG

Enables the debugging tool to be used with your program.

  Syntax
PHY ENABLE DEBUG
  Returns

  Description

As in all developing, when developing games using physics there will every now and then appear problems and errors. Detecting and solving these might be a cumbersome task, hindered by the means of interaction the game provides. For example, figuring out if a joint limit is correct might be hard by just firing a gun at it. Usually, to visualize this information properly to be able to verify it, additional debug I/O must be added to the game, which is not always desired. This is where the Visual Remote Debugger comes into play. This tool can be connected to any application using Dark Physics, and provides the means to visualize, manipulate and even record the scene. Since the connection works over network, any host that supports TCP connections can connect to your debugger and of course you can run it alongside your program on the same computer.

To enable the debugger simply place a call to phy enable debug before phy start is called. When you want to debug start the remote debugger and then run your program to see the results.

  Example Code
No example code is provided for this command